package com.lyl.springcloud.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.math.BigDecimal;

/**
 * @author lylbell
 * @date 2021-06-07 15:14
 */
@Mapper
public interface StorageMapper {

    //扣减库存信息
    void decrease(@Param("productId") Long productId, @Param("count") Integer count);
}
